Global Index
HTML5 JS API Index > Media Tutorials & Specs

MediaError

Properties
const unsigned short
MEDIA_ERR_ABORTED = 1
The fetching process for the media resource was aborted by the user agent at the user's request.
const unsigned short
MEDIA_ERR_DECODE = 3
An error of some description occurred while decoding the media resource, after the resource was established to be usable.
const unsigned short
MEDIA_ERR_NETWORK = 2
A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.
const unsigned short
MEDIA_ERR_SRC_NOT_SUPPORTED = 4
The media resource indicated by the src attribute was not suitable.
unsigned shortcode
Referenced by
HTMLMediaElementerror